<template>
  <div>
    App
    <AChild :a="a" :b="b" :c="c" @update="update" @click="update" />
  </div>
</template>

<script>
import AChild from "./A.vue";

export default {
  name: "App",
  components: {
    AChild,
  },
  data() {
    return {
      a: 1,
      b: 2,
      c: 3,
    };
  },
  methods: {
    update() {
      this.a++;
    },
  },
};
</script>

<style></style>
